<template>
  <div class='app-container'>
    <pdf ref="pdf" :src="url"></pdf>
  </div>
</template>

<script>
import pdf from "vue-pdf";
export default {
  name: "Pdf",

  data() {
    return {
      url: this.$route.query.url,
    };
  },

  components: { pdf },

  computed: {},

  mounted() {
    console.log(
      "🚀 ~ file: index.vue ~ line 15 ~ data ~ this.$route",
      this.$route.query.url
    );
  },

  watch: {},

  methods: {},
};
</script>

<style scoped lang='scss'>
</style>